wayland: Warn when an application tries to map popup incorrectly
authorJonas Ådahl <jadahl@gmail.com>
Fri, 2 Sep 2016 10:51:34 +0000 (18:51 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 2 Sep 2016 10:56:03 +0000 (18:56 +0800)
commit98b0f78200d8808384e631f286aae09686f97d2b
tree66ed3fe1f4757438f72c550d15b11e24ac7e9911
parentc32a31f223b5d66ac1e70dc8ae88a8ce1c285c27
wayland: Warn when an application tries to map popup incorrectly

When a popup is mapped but will not be the top most popup (for example
the parent is not the current top most popup, or if there already is a
popup mapped but the parent is a toplevel), warn and ignore it instead
of continuing, as continuing would be a protocol violation.

https://bugzilla.gnome.org/show_bug.cgi?id=770745
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkwindow-wayland.c